#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;

class Count {
public:
    Count() {
        _count += _i;
        ++_i;
    }

    static int GetCount() {
        return _count;
    }
private:
    static int _i;
    static int _count;
};
int Count::_i = 1;
int Count::_count = 0;

class Solution {
public:
    int Sum_Solution(int n) {
        Count arr[n];
        return Count::GetCount();
    }
};